package models

import "gorm.io/gorm"

type Permission struct {
	gorm.Model
	ID       int
	Name     string
	Url      string
	ParentId int
	Typee    string `gorm:"column:type"`
	Permit   string
	Remark   string
}

func (table *Permission) TableName() string {
	return "user_permission"
}
